@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600');
@import url('https://fonts.googleapis.com/css2?family=Zen+Tokyo+Zoo&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat','sans-serif';
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.container {
    text-align: center;
    padding: .8em 1.2em;
}

h1 {
    padding: 0;
    margin: 0;
    display: block;
    background: #B2EFFF;
    text-align: center;
    font-size: 6em;
    font-weight:400;
    display: block;
    position: fixed;
    width: 100%;
    z-index: 7;
    font-family: 'Zen Tokyo Zoo', 'sans-serif';
    top: -4%;
}

.heading-space {
    height: 4em;
}

header {
    display:block;
    justify-content: space-between;
    background: #cddfe4;
}

.top-option-list {
    height: 100%;
    display: block;
    text-align: center;
}

.top-option-list li {
    display: inline-block;
    width: 20%;
    height: 100%;
}

.top-option-list li a {
    size: 100%;
    display: block;
    transition: background-color 0.2s;
    background-color:inherit;
    padding: 0.8em 0;
}

.top-option-list li a:hover {
    background-color:#abbfc5a1;
}

h3 {
    font-size: 2em;
}

.game-list {
    display: block;
    margin-bottom: 3em;
}

.game-box {
    display: inline-block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    width: 48%;
    text-align: center;
}

.game-box img {
    width: 100%;
    transition: transform 0.2s, opacity 0.5s;
}

.game-box img:hover {
    transform: scale(1.5);
    opacity: 0.5;
}

.game-name {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    display:flex;
    font-size: 1.25em;
    font-weight: bold;
}

.play-button {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, 10px);
    display:flex;
    background-color: green;
    padding:3% 30%;
    border-radius: 2em;
    font-size: 1em;
    text-decoration: none;
    color: white;
}

@media only screen and (min-width: 800px) {
    .game-box {
        width: 32%;
    }
    /* .game-list li:nth-child(4) {
        visibility: hidden;
    } */
    .game-name {
        font-size: 1.75em;
    }
    .play-button {
        font-size: 1.5em
    }
    h1 {
        font-size: 10em;
    }
    h3 {
        font-size: 3em;
    }
    .top-option-list {
        font-size: 2em;
    }
    p {
        font-size: 1.5em;
    }
}

@media only screen and (min-width: 1600px) {
    .game-box {
        width: 24%;
    }
    /* .game-list li:nth-child(4) {
        visibility:visible;
    } */
    .game-name {
        font-size: 1.75em;
    }
    .play-button {
        font-size: 1.5em
    }
    h1 {
        font-size: 10em;
    }
    h3 {
        font-size: 3em;
    }
    .top-option-list {
        font-size: 2em;
    }
    p {
        font-size: 1.5em;
    }
}